package com.chenju.invokechainservice.service.impl;

import com.chenju.invokechainservice.dao.TParameterNodeRepository;
import com.chenju.invokechainservice.domain.TParameterNode;
import com.chenju.invokechainservice.service.TParameterNodeService;
import org.springframework.stereotype.Service;

@Service
public class TParameterNodeServiceImplement implements TParameterNodeService {
    private final TParameterNodeRepository repository;

    public TParameterNodeServiceImplement(TParameterNodeRepository repository) {
        this.repository = repository;
    }

    @Override
    public TParameterNode save(TParameterNode node) {
        return repository.save(node);
    }
}
